def dayUp(df):
    dayup = 1
    for i in range(365):
        if i % 4 in [1]:
            dayup = dayup*(1)
        else:
            dayup = dayup*(1 + df)
    return dayup
dayfactor = 0.01
while dayUp(dayfactor)<37.78:
    dayfactor += 0.001
print("工作日努力的参数是:{:.3f} ".format(dayfactor))